package tobebetterjavaer;

import java.math.BigDecimal;

public class FullReductionDiscount {

    /**
     * 满减门槛
     */
    private BigDecimal threshold;
    /**
     * 满减金额
     */
    private BigDecimal discount;

    public FullReductionDiscount(BigDecimal threshold, BigDecimal discount) {
        this.threshold = threshold;
        this.discount = discount;
    }

    public FullReductionDiscount() {

    }

    public BigDecimal getThreshold() {
        return threshold;
    }

    public void setThreshold(BigDecimal threshold) {
        this.threshold = threshold;
    }

    public BigDecimal getDiscount() {
        return discount;
    }

    public void setDiscount(BigDecimal discount) {
        this.discount = discount;
    }
}
